{%include file="m.index.header.tpl.php"%}
	<!--头部 end--> 
	<!--主体部分-->
	<div class="container" style="margin-top:70px;">
		<form action="" method="get">
			<div class="row" style="margin-top:10px;">
				<div class="col-sm-12 distance" >
					<div class="form-group">
						<label for="" class="col-sm-2 control-label">学年学期:</label>
						<div class="col-sm-10">
							<select class="form-control" name="semester_id">
								<option value=""> 请选择</option>
								{%foreach from=$semester_lists key=key item=value%}
								<option value="{%$value.semester_id%}"{%if $value.semester_id==$semester_id%}selected{%/if%}>{%$value.semester_xname%}{%$value.semester_name%}</option>
								{%/foreach%}
							</select>
						</div>
					</div>
					<div class="col-xs-12 distance" >
						<div class="form-group  text-center" style="padding-top:0px;">
							<input type="hidden" name="finance_id" value="{%$finance_id%}">
							<input type="hidden" name="a" value="finance.financetablelist">
							<button type="submit" class="btn btn-success absolutely ">搜索<button>
						</div>
					</div>
				</div>
			</div>
		</form>
	  <div class="row" style="margin-top:15px;margin-left:1px; margin-right:1px;">
	  {%foreach from=$financetable_lists key=key item=value%}
		<table class="table table-striped table-bordered text-center"  id="middles">
		  <tr>
			<td>学年学期</td>
			<td>{%$value.semester_xname%}{%$value.semester_name%}</td>
		  </tr>
		  <tr>
			<td>标题</td>
			<td>{%$value.financetable_title%}</td>
		  </tr>
		  <tr>
			<td>提交者</td>
			<td>{%$value.staff_name%}</td>
		  </tr>
		  <tr>
			<td>提交时间</td>
			<td>{%$create_time%}</td>
		  </tr>
		  <tr>
			<td>附件</td>
			<td><a href="index.php?a=finance.output&financetable_file={%$value.financetable_file%}">{%$value.financetable_file%}</a></td>
		  </tr>
		</table>
		{%/foreach%} 
	  </div>
	</div>
	<!--container  end--> 
	<!--主体部分  end--> 
	</form>
	{%include file="m.index.footer.tpl.php"%}
